const { windowWidth, windowHeight } = uni.getSystemInfoSync();

const config = {
    stageWidth: windowWidth,
    stageHeight: windowHeight,
    dir: "vertical",
    score: 90,
    flunked: false,
    viewType: "comprehensive",
};

const data = [
    {
        url: cuiguanglin,
        id: "111",

        selections: {
            words: [
                {
                    text: "飞悬瀑布",
                    cooridates: [{ x1: 65, y1: 44, x2: 155, y2: 70 }],
                },
                {
                    text: "艰辛无比",
                    cooridates: [{ x1: 132, y1: 395, x2: 220, y2: 420 }],
                },
                {
                    text: "连绵之网",
                    cooridates: [
                        { x1: 300, y1: 100, x2: 345, y2: 120 },
                        { x1: 25, y1: 125, x2: 70, y2: 148 },
                    ],
                },
            ],
            sentences: [
                {
                    text: "当你凝视深渊的时候，深渊也在凝视你",
                    cooridates: [
                        { x1: 280, y1: 180, x2: 350, y2: 202 },
                        { x1: 25, y1: 204, x2: 325, y2: 230 },
                    ],
                },
                {
                    text: "不以身世之苦，不念生活之卑",
                    cooridates: [
                        { x1: 320, y1: 450, x2: 350, y2: 472 },
                        { x1: 25, y1: 477, x2: 285, y2: 500 },
                    ],
                },
            ],
            paragraphs: [
                {
                    text: "",
                    cooridates: [
                        { x1: 70, y1: 315, x2: 345, y2: 335 },
                        { x1: 26, y1: 336, x2: 345, y2: 363 },
                        { x1: 26, y1: 360, x2: 345, y2: 388 },
                    ],
                },
            ],
        },
    },
    {
        url: img1,
        id: "222",
        selections: {
            words: [
                {
                    text: "那就是钱",
                    cooridates: [{ x1: 170, y1: 48, x2: 255, y2: 70 }],
                },
                {
                    text: "艰辛无比",
                    cooridates: [{ x1: 135, y1: 406, x2: 220, y2: 428 }],
                },
            ],
            sentences: [
                {
                    text: "当你凝视深渊的时候，深渊也在凝视你",
                    cooridates: [
                        { x1: 288, y1: 185, x2: 358, y2: 207 },
                        { x1: 30, y1: 214, x2: 330, y2: 236 },
                    ],
                },
            ],
            paragraphs: [
                {
                    text: "",
                    cooridates: [
                        { x1: 70, y1: 324, x2: 352, y2: 346 },
                        { x1: 26, y1: 346, x2: 352, y2: 370 },
                        { x1: 26, y1: 370, x2: 352, y2: 400 },
                    ],
                },
            ],
        },
    },
];
